package com.ruoyi.system.mapper.smy;

import com.ruoyi.common.core.domain.smy.MallGoodsAttribute;

import java.util.List;

public interface MallGoodsAttributeMapper {
	public MallGoodsAttribute selectMallGoodsAttributeById(Long id);

	public List<MallGoodsAttribute> selectMallGoodsAttributeList(MallGoodsAttribute mallGoodsAttribute);

	public int insertMallGoodsAttribute(MallGoodsAttribute mallGoodsAttribute);

	public int updateMallGoodsAttribute(MallGoodsAttribute mallGoodsAttribute);

	public int deleteMallGoodsAttributeById(Long id);

	public int deleteMallGoodsAttributeByIds(Long[] ids);

	/**
	 * 获取商品规格父级列表
	 * @Date 2022/10/26 14:37
	 * @author ZhanCheng.Li
	 * @param mallGoodsAttribute
	 * @return
	 */
	List<MallGoodsAttribute> selectAttributeParentPage(MallGoodsAttribute mallGoodsAttribute);
}
